<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class StaffLeave extends Model
{
    //
    protected $table = 'staff_leave';
	
	public function name()
	{
		return $this->belongsTo('App\Model\Users','userid');
	}
}
